<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/assembly/quote_head.jsp" %>
<!DOCTYPE html>
<html lang="CN" class="html-body-overflow">
<head>
    <!-- META SECTION -->
    <title>hua</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <%@ include file="/WEB-INF/assembly/quote_style.jsp" %>
</head>
<body scroll="no" class="html-body-overflow">
<!-- START PAGE CONTAINER -->
<div class="page-container">

    <!-- START PAGE SIDEBAR -->
    <div class="page-sidebar">
        <!-- 左侧菜单 -->
        <ul class="x-navigation">
            <li class="xn-logo">
                <a href="#">ATLANT</a>
                <a href="#" class="x-navigation-control"></a>
            </li>
            <li class="xn-profile">
                <a href="#" class="profile-mini">
                    <img src="${pageContext.request.contextPath}/img/no-image.jpg" alt="John Doe"/>
                </a>
                <div class="profile">
                    <div class="profile-image">
                        <img src="${pageContext.request.contextPath}/img/no-image.jpg" alt="John Doe"/>
                    </div>
                    <div class="profile-data">
                        <div class="profile-data-name">John Doe</div>
                        <div class="profile-data-title">Web Developer/Designer</div>
                    </div>
                    <div class="profile-controls">
                        <a href="pages-profile.html" class="profile-control-left"><span class="fa fa-info"></span></a>
                        <a href="pages-messages.html" class="profile-control-right"><span class="fa fa-envelope"></span></a>
                    </div>
                </div>
            </li>
            <li class="xn-title">菜单</li>
            <c:forEach var="menuItem" items="${menu}">
                <c:if var="status" test="${menuItem.listSize > 0}">
                    <li class="xn-openable">
                    <a href="#"><span class="fa fa-sitemap"></span> <span
                            class="xn-text">${menuItem.menuName}</span></a>

                    <%--<a href="#"><span class="fa fa-file-text-o"></span> <span class="xn-text">Layouts</span></a>--%>
                    <ul>
                        <c:forEach var="menuItemList" items="${menuItem.menuList}">
                            <li>
                                <a href="${menuItemList.menuUrl}" target="iframe_a" >${menuItemList.menuName}</a>
                            </li>
                        </c:forEach>
                    </ul>
                </c:if>
                <c:if test="${status == false}">
                    <li class="active">
                        <a href="${menuItem.menuUrl}" target="iframe_a"><span class="fa fa-desktop"></span> <span class="xn-text">${menuItem.menuName}</span></a>
                    </li>
                </c:if>
                </li>
            </c:forEach>

            <script>
                (function(){
                        function updatePageName(pageName){
                            if(pageName !== "" && pageName !== null && pageName != undefined){

                            }
                        }
                })
            </script>
        </ul>
        <!-- 左侧菜单END -->
    </div>
    <!-- END PAGE SIDEBAR -->
    <!-- 右-部分显示 -->
    <div class="page-content">

        <!-- START X-NAVIGATION VERTICAL -->
        <ul class="x-navigation x-navigation-horizontal x-navigation-panel">
            <!-- TOGGLE NAVIGATION -->
            <li class="xn-icon-button">
                <a href="#" class="x-navigation-minimize"><span class="fa fa-dedent"></span></a>
            </li>
            <!-- END TOGGLE NAVIGATION -->
            <!-- 顶部搜索框 -->
            <li class="xn-search">
                <form role="form">
                    <input type="text" name="search" placeholder="Search..."/>
                </form>
            </li>
            <!-- 登出按钮显示 -->
            <li class="xn-icon-button pull-right">
                <a href="#" class="mb-control" data-box="#mb-signout"><span class="fa fa-sign-out"></span></a>
            </li>
            <!-- 消息框1 -->
            <li class="xn-icon-button pull-right">
                <a href="#"><span class="fa fa-comments"></span></a>
                <div class="informer informer-danger">4</div>
                <div class="panel panel-primary animated zoomIn xn-drop-left xn-panel-dragging">
                    <div class="panel-heading">
                        <h3 class="panel-title"><span class="fa fa-comments"></span> Messages</h3>
                        <div class="pull-right">
                            <span class="label label-danger">4 new</span>
                        </div>
                    </div>
                    <div class="panel-body list-group list-group-contacts scroll" style="height: 200px;">
                        <a href="#" class="list-group-item">
                            <div class="list-group-status status-online"></div>
                            <%--<img src="${pageContext.request.contextPath}/assets/images/users/user2.jpg"--%>
                            <%--class="pull-left" alt="John Doe"/>--%>
                            <span class="contacts-title">John Doe</span>
                            <p>Praesent placerat tellus id augue condimentum</p>
                        </a>
                        <a href="#" class="list-group-item">
                            <div class="list-group-status status-away"></div>
                            <%--<img src="${pageContext.request.contextPath}/assets/images/users/user.jpg" class="pull-left"--%>
                            <%--alt="Dmitry Ivaniuk"/>--%>
                            <span class="contacts-title">Dmitry Ivaniuk</span>
                            <p>Donec risus sapien, sagittis et magna quis</p>
                        </a>
                        <a href="#" class="list-group-item">
                            <div class="list-group-status status-away"></div>
                            <%--<img src="${pageContext.request.contextPath}/assets/images/users/user3.jpg"--%>
                            <%--class="pull-left" alt="Nadia Ali"/>--%>
                            <span class="contacts-title">Nadia Ali</span>
                            <p>Mauris vel eros ut nunc rhoncus cursus sed</p>
                        </a>
                        <a href="#" class="list-group-item">
                            <div class="list-group-status status-offline"></div>
                            <%--<img src="${pageContext.request.contextPath}/assets/images/users/no-image.jpg"--%>
                            <%--class="pull-left" alt="Darth Vader"/>--%>
                            <span class="contacts-title">Darth Vader</span>
                            <p>I want my money back!</p>
                        </a>
                    </div>
                    <div class="panel-footer text-center">
                        <a href="pages-messages.html">Show all messages</a>
                    </div>
                </div>
            </li>
            <!-- 消息框1end -->
            <!-- 消息框2 -->
            <li class="xn-icon-button pull-right">
                <a href="#"><span class="fa fa-tasks"></span></a>
                <div class="informer informer-warning">3</div>
                <div class="panel panel-primary animated zoomIn xn-drop-left xn-panel-dragging">
                    <div class="panel-heading">
                        <h3 class="panel-title"><span class="fa fa-tasks"></span> Tasks</h3>
                        <div class="pull-right">
                            <span class="label label-warning">3 active</span>
                        </div>
                    </div>
                    <div class="panel-body list-group scroll" style="height: 200px;">
                        <a class="list-group-item" href="#">
                            <strong>Phasellus augue arcu, elementum</strong>
                            <div class="progress progress-small progress-striped active">
                                <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="50"
                                     aria-valuemin="0" aria-valuemax="100" style="width: 50%;">50%
                                </div>
                            </div>
                            <small class="text-muted">John Doe, 25 Sep 2014 / 50%</small>
                        </a>
                        <a class="list-group-item" href="#">
                            <strong>Aenean ac cursus</strong>
                            <div class="progress progress-small progress-striped active">
                                <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80"
                                     aria-valuemin="0" aria-valuemax="100" style="width: 80%;">80%
                                </div>
                            </div>
                            <small class="text-muted">Dmitry Ivaniuk, 24 Sep 2014 / 80%</small>
                        </a>
                        <a class="list-group-item" href="#">
                            <strong>Lorem ipsum dolor</strong>
                            <div class="progress progress-small progress-striped active">
                                <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="95"
                                     aria-valuemin="0" aria-valuemax="100" style="width: 95%;">95%
                                </div>
                            </div>
                            <small class="text-muted">John Doe, 23 Sep 2014 / 95%</small>
                        </a>
                        <a class="list-group-item" href="#">
                            <strong>Cras suscipit ac quam at tincidunt.</strong>
                            <div class="progress progress-small">
                                <div class="progress-bar" role="progressbar" aria-valuenow="100" aria-valuemin="0"
                                     aria-valuemax="100" style="width: 100%;">100%
                                </div>
                            </div>
                            <small class="text-muted">John Doe, 21 Sep 2014 /</small>
                            <small class="text-success"> Done</small>
                        </a>
                    </div>
                    <div class="panel-footer text-center">
                        <a href="pages-tasks.html">Show all tasks</a>
                    </div>
                </div>
            </li>
            <!-- 消息框2end -->
        </ul>

        <!-- 导航栏 -->
        <ul class="breadcrumb push-down-0">
            <li><a href="#">Pages</a></li>
            <li class="active">Error 404</li>
        </ul>

        <!-- 主要内容-html内联加载 -->
        <iframe src="${pageContext.request.contextPath}/index" name="iframe_a" ></iframe>
    </div>
</div>


<!-- 登出提示-->
<div class="message-box animated fadeIn" data-sound="alert" id="mb-signout">
    <div class="mb-container">
        <div class="mb-middle">
            <div class="mb-title"><span class="fa fa-sign-out"></span><strong>注销</strong> ?</div>
            <div class="mb-content">
                <p>你确定要<strong>注销</strong> ?</p>
                <p><strong>注销</strong> 会清空当前登录人所有登录信息</p>
            </div>
            <div class="mb-footer">
                <div class="pull-right">
                    <a href="${pageContext.request.contextPath}/login-out" class="btn btn-success btn-lg">Yes</a>
                    <button class="btn btn-default btn-lg mb-control-close">No</button>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- js引用 -->
<%@ include file="/WEB-INF/assembly/quote_js.jsp" %>

<%--<script>--%>
    <%--(function(){--%>

        <%--function createXMLHttpRequest(){--%>
            <%--if(window.XMLHttpRequest){--%>
                <%--XMLHttpR = new XMLHttpRequest();--%>
            <%--}else if(window.ActiveXObject){--%>
                <%--try{--%>
                    <%--XMLHttpR = new ActiveXObject("Msxml2.XMLHTTP");--%>
                <%--}catch(e){--%>
                    <%--try{--%>
                        <%--XMLHttpR = new ActiveXObject("Microsoft.XMLHTTP");--%>
                    <%--}catch(e){--%>
                    <%--}--%>
                <%--}--%>
            <%--}--%>
        <%--}--%>
        <%--function sendRequest(url){--%>
            <%--createXMLHttpRequest();--%>
            <%--XMLHttpR.open("GET",url,true);--%>
            <%--XMLHttpR.setRequestHeader("Content-Type","text/html;charset=utf-8");--%>
            <%--XMLHttpR.onreadystatechange = processResponse;--%>
            <%--XMLHttpR.send(null);--%>
        <%--}--%>
        <%--function processResponse(){--%>
            <%--if(XMLHttpR.readyState ==4 && XMLHttpR.status == 200){--%>
                <%--document.write(XMLHttpR.responseText);--%>
            <%--}--%>
        <%--}--%>
    <%--})--%>
<%--</script>--%>

</body>
</html>







